package com.cloud.gateway.controller;

import com.cloud.gateway.bean.ResponseInfo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FallbackController {

    @RequestMapping("/fallback")
    public ResponseInfo fallback(){
        return new ResponseInfo(ResponseInfo.UNAVAILABLE, "服务繁忙，请稍后再试");
    }
}
